package com.chuangjiangx.member.score.ddd.dal.condition;

import com.chuangjiangx.commons.QueryCondition;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 积分详情
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ScoreStreamCondition extends QueryCondition {
    private Date startTime;
    private Date endTime;
    private Long registerStoreId;
    private Byte type;
    private Long memberId;
    private String storeName;
    private Long merchantId;
    private String mobile;

    public ScoreStreamCondition() {
        super();
    }

    public ScoreStreamCondition(Date startTime, Date endTime, String storeName,
                                Byte type, Long memberId, Long merchantId) {
        this.startTime = startTime;
        this.endTime = endTime;
        this.storeName = storeName;
        this.type = type;
        this.memberId = memberId;
        this.merchantId = merchantId;
    }

    public ScoreStreamCondition(Date startTime, Date endTime, String storeName,
                                Byte type, Long memberId, Long merchantId, String mobile) {
        this.startTime = startTime;
        this.endTime = endTime;
        this.storeName = storeName;
        this.type = type;
        this.memberId = memberId;
        this.merchantId = merchantId;
        this.mobile = mobile;
    }
}
